<?xml version="1.0"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	version="1.0">
	<xsl:output method="xml" indent="yes" />

	<xsl:template match="/">
		<xsl:for-each select="descendant-or-self::*/attribute::*">
			Found a name
			<xsl:value-of select="." />
			.
		</xsl:for-each>
	</xsl:template>

</xsl:stylesheet>
